﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;

namespace SMG.Application.DTO.System
{
    /// <summary>
    /// 系统字典表Dto
    /// </summary>
    [DataContract]
    [Serializable]
    public class SysDictDto
    {

        public SysDictDto() {
            this.CreateTime = DateTime.Now;
            this.UpdateTime = DateTime.Now;
        }

        /// <summary>
        /// 唯一ID
        /// </summary>
        public long ID { get; set; }

        /// <summary>
        /// 字典Key
        /// </summary>
        [DataMember]
        public String DictKey { get; set; }

        /// <summary>
        /// 字典value
        /// </summary>
        [DataMember]
        public String DictValue { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [DataMember]
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        [DataMember]
        public String Creator { get; set; }

        /// <summary>
        /// 最后更新时间
        /// </summary>
        [DataMember]
        public DateTime UpdateTime { get; set; }

        /// <summary>
        /// 最后更信任
        /// </summary>
        [DataMember]
        public String Updator { get; set; }
    }
}
